package com.itheima.account.service.impl;

import com.itheima.account.service.IAccountService;

public class MyService6 implements IAccountService {
    //静态方法返回实例对象
    public static MyService6 getInstance() {
        return new MyService6();
    }
    public void sayResult(){
        System.out.println("我是 myService6 的实例");
    }
    @Override
    public void saveAccount() {

    }
}
